#ifndef EDITOR_H
#define EDITOR_H

#include <Qsci/qsciscintilla.h>
#include <Qsci/qscilexer.h>
#include <Qsci/qsciapis.h>
#include <QCompleter>
#include <QString>
#include <QStringList>
#include <QFont>
#include <QFontMetrics>
#include <QDebug>


class Editor : public QsciScintilla
{
    Q_OBJECT
public:
    Editor(QWidget *parent = nullptr);
    ~Editor();

    int getCurrentLine() const;
    void mousePressEvent(QMouseEvent* event);
    QString getCurrentLineText() const;
    void setupIndentation();
    void setupMargins();
    void setupColors();

};

#endif // EDITOR_H
